<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 刘浩哲
  Date: 2022/11/27
  Time: 14:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../static/css/dist/css/bootstrap.min.css">
</head>
<body>
<div>
    <form action="update1.shtml" method="post" enctype="multipart/form-data" class="form-inline">
        <input type="hidden" value="${requestScope.spu.spu_id}" name="spuid">
        <label>商品名称</label><input type="text" value="${requestScope.spu.spu_Name}" name="name"><br />
        <label>副标题</label><input type="text" value="${requestScope.spu.title}" name="uname"><br />
        <label>分类名称：</label>
        <select name="cid">
            <c:forEach items="${classlist}" var="r">
                <option value="${r.classid}">${r.class_Name}</option>
            </c:forEach>
        </select><br />
        <label>品牌描述：</label>
        <select name="bid">
            <c:forEach items="${brandlist}" var="r">
                <option value="${r.brandid}">${r.brand_Info}</option>
            </c:forEach>
        </select><br />
        <lable>图片:</lable><img src="${requestScope.spu.spuimg}" alt="">
        <input id="pic" type="file" name="pic">
        <label>商品描述信息：</label><input type="text" name="sp" value="${requestScope.spu.spu_Info}"><br />
        <label>包装清单:</label><input type="text" name="qd" value="${requestScope.spu.packing}"><br />
        <label>售后服务：</label><input type="text" name="fw" value="${requestScope.spu.service}"><br />
        <label>是否下架:</label><input type="text" name="sf" value="${requestScope.spu.takedown}"><br />


        <input type="submit" value="修改" class="ben btn-danger">
    </form>
</div>
</body>
<script src="../static/css/dist/js/jquery.min.js"></script>

</html>
